reduceLargeIconSize

@Nullable
open fun reduceLargeIconSize(@NonNull context: @NonNull Context, @Nullable icon: @Nullable Bitmap): @Nullable Bitmap(source)

Reduces the size of a provided icon if it's larger than the maximum allowed for a notification large icon; returns the resized icon. Note that the framework does this scaling automatically starting from API 27.